package cn.demo.Util;

import java.util.List;

/**
 * @Author weizhongli
 * @Date 2020/3/22
 * @Version v1.0
 * @Description 分页查询
 */
public class Page {
    private int pageIndex;//当前页码
    private int pageSize;//每页显示记录数
    private int pageTotalpages;//总页数
    private int totalRecords;//总记录数

    public int getTotalRecords() {
        return totalRecords;
    }

    public void setTotalRecords(int totalRecords) {
        this.totalRecords = totalRecords;
    }

    private List<?> list;

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageTotalpages() {
        return pageTotalpages;
    }

    public void setPageTotalpages(int pageTotalpages) {
        this.pageTotalpages = pageTotalpages;
    }


}
